<html>
<head>
	<meta charset="UTF-8">
	<script type="text/javascript" src="lib/Editor/js/jquery-1.7.2.min.js"> </script>
	<script type="text/javascript" src="lib/Editor/js/cursor.js"> </script>
	<script type="text/javascript" src="lib/Editor/js/file.js"> </script>
	<script type="text/javascript" src="lib/Editor/js/editor.js"> </script>
</head>
<body>
	<script>
	    var editor;
		$(document).ready(function(){  
			 editor=Editor.createNew("canvas_id");
			 editor.openfile("file.txt");
			 editor.run();
		}); 
		
		
	</script>
	
	<!--<div style="height:600px;overflow:scroll;">-->
		<canvas id="canvas_id" height="600px" width="900px">

		</canvas>
        <textarea name="in" id="in" style="position: fixed;"></textarea>
	<!--</div>-->
</body>
</html>